package com.itms.mapper;

import com.itms.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

public interface SupplierMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

    Supplier getSupplierBySupplierCode(@Param("supplierCode") String supplierCode,@Param("isValid") String isValid);
}